﻿using DA;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BL
{
    public class ThongTinDonHangBL
    {
        ThongTinDonHangDA thongTinDonHangDA;

        public ThongTinDonHangBL()
        {
            thongTinDonHangDA = new ThongTinDonHangDA();
        }

        public DataSet timKiemThongTinDonHang(int loai, String strTimKiem)
        {
            return thongTinDonHangDA.timKiemThongTinDonHang(loai, strTimKiem);
        }

        public void updateThongTinDonHang(DataTable dt)
        {
            thongTinDonHangDA.danhSachThongTinDonHangAdapter.Update(dt);
        }
        public DataSet chonDonHang()
        {
            return thongTinDonHangDA.chonDonHang();
        }

    }
}
